package com.mhc.suzuki.dal.model;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

@Data
public class OrderCustomerRelDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键，订单和客户关系ID
     * pcl_order_customer_rel.order_customer_rel_id
     */
    private Long orderCustomerRelId;

    /**
     * 订单号
     * pcl_order_customer_rel.order_no
     */
    private String orderNo;

    /**
     * 客户记录编号
     * pcl_order_customer_rel.customer_id
     */
    private Long customerId;

    /**
     * 客户在当前订单中的角色，如主贷人，担保人，共同购车人等
     * pcl_order_customer_rel.customer_type
     */
    private Integer customerType;

    /**
     * 征信查询申请编号
     * pcl_order_customer_rel.credit_apply_id
     */
    private Long creditApplyId;

    /**
     * 是否已删除：0 未删除，1 已删除
     * pcl_order_customer_rel.is_deleted
     */
    private Integer isDeleted;

    /**
     * 创建时间

     * pcl_order_customer_rel.gmt_create
     */
    @SuppressWarnings("squid:S3437")
    private LocalDateTime gmtCreate;

    /**
     * 最后修改时间

     * pcl_order_customer_rel.gmt_modified
     */
    @SuppressWarnings("squid:S3437")
    private LocalDateTime gmtModified;

}